package com.xmcc.exception;

import lombok.Getter;

import java.io.Serializable;

/**
 *  自定义的异常：
 * */
@Getter
public class PermissionsException extends RuntimeException implements Serializable {

    //异常的信息：
    private String message;
    public PermissionsException(String message){
        super(message);
        this.message = message;
    }

}
